using UnityEngine;

public class SkinSelectButton : MonoBehaviour
{
	public UISprite lookPreview;

	public SkinCustomisationController customisationTabController;

	public GameObject enabledHighlight;

	public CustomisationConfig.Look myLook { get; protected set; }

	public void Init(CustomisationConfig.Look look)
	{
		myLook = look;
	}

	public void UpdateButtonSelectionHighlight(bool isSelected)
	{
		enabledHighlight.SetActive(isSelected);
	}

	public void OnCustomiseClick()
	{
		customisationTabController.SelectLook(myLook);
	}
}
